package com.desay.pangoo.itmt.controller.vo.rag.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 获取历史消息接口的响应实体中消息列表的每一项
 *
 * @author uids1175
 */
@Data
@ApiModel(description = "获取历史消息接口的响应实体中消息列表的每一项")
public class HistoryMessageItemVo {
    @ApiModelProperty("消息Id")
    private Long messageId;

    @ApiModelProperty("会话Id")
    private Long chatId;


    @ApiModelProperty("文本内容")
    private String content;


    @ApiModelProperty("角色信息，枚举值 user,assistant")
    private String role;


    @ApiModelProperty("点赞，点踩记录信息 0--未操作 1--点赞 -1--点踩")
    private Integer vote;


    @ApiModelProperty("父消息Id")
    private Long parentId;

    @ApiModelProperty("子消息Id集合")
    private List<Long> childrenIds;

    @ApiModelProperty("点赞的备注")
    private String likeComment;

    @ApiModelProperty("点踩的备注")
    private String dislikeComment;

    @ApiModelProperty("是否为总结消息")
    private Integer isSummary;


    @ApiModelProperty("与AI回答有关的产品需求列表")
    private List<ProductDemandRespVo> productDemandList;
}
